package com.example.demo.model;

import java.io.Serializable;

public class book implements Serializable {
    private String names;

    private Integer price;

    private Integer nums;

    public String getNames() {
        return names;
    }

    public void setNames(String names) {
        this.names = names;
    }

    public Integer getPrice() {
        return price;
    }

    public void setPrice(Integer price) {
        this.price = price;
    }

    public Integer getNums() {
        return nums;
    }

    public void setNums(Integer nums) {
        this.nums = nums;
    }

    public book(String names, Integer price, Integer nums) {
        this.names = names;
        this.price = price;
        this.nums = nums;
    }

    @Override
    public String toString() {
        return "book{" +
                "names='" + names + '\'' +
                ", price=" + price +
                ", nums=" + nums +
                '}';
    }
}
